#ifndef _HDR_CHARACTER
#define _HDR_CHARACTER

class character;

#include <ctime>

#include "texture.h"
#include "map.h"
#include "shader.h"

#include "AI/AI_behavior.h"
#include "AI/AI_target.h"
#include "AI/AI_package.h"

class character{
    public:
        fcoord coord;

        clock_t lastupdate;

        AI_behavior*    behavior;
        AI_target*      target;
        AI_package*     package;

        character(float,float,AI_behavior* = NULL);
        character(fcoord,AI_behavior* = NULL);
        ~character();

        void execAI(clock_t);
        void setBehavior(AI_behavior*);
};

#endif
